<script>

export default {
  props: {
    column: {
      type: Object,
      default: ''
    },
  },
  data() {
    return {
      value:null
    }
  },
  methods: {
    change() {
      this.$emit('change', this.value);
    },
  }
}

</script>

<template>
  <el-select
      clearable
      v-model="value"
      @change="change"
  >
    <el-option
        v-for="item in column?.enumList"
        :key="item?.value"
        :label="item?.label"
        :value="item?.value"/>
  </el-select>
</template>

<style lang="scss" scoped>

</style>